home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / MPW_TOOL / TOOLS / TOOLS_WI / CONFIG__ / CONFIG_L.OU1 next >
Text File  |  1990-02-14  |  4KB  |  104 lines

  1. Produced by config version 4.2, CWI, Amsterdam
  2. Compiled without signed char
  3. Compiler does not claim to be ANSI C
  4.  
  5. Char = 8 bits, signed
  6. Short=16 int=16 long=32 float=32 double=80 bits 
  7. Char pointers = 32 bits BEWARE! larger than int!
  8. Int pointers = 32 bits BEWARE! larger than int!
  9. Alignments used for char=1 short=2 int=2 long=4
  10. Character order:
  11.     short: AB
  12.     int:   AB
  13.     long:  ABCD
  14. Strings are not shared
  15. Overflow of a short does not generate a trap
  16. Maximum short = 32767 (= 2**15-1)
  17. Minimum short = -32768
  18. Overflow of an int does not generate a trap
  19. Maximum int = 32767 (= 2**15-1)
  20. Minimum int = -32768
  21. Overflow of a long does not generate a trap
  22. Maximum long = 2147483647 (= 2**31-1)
  23. Minimum long = -2147483648
  24. Maximum unsigned short = 65535
  25. Maximum unsigned int = 65535
  26. Maximum unsigned long = 4294967295
  27.  
  28. PROPERTIES OF FLOAT:
  29. Base = 2
  30. Significant base digits = 24 (= at least 6 decimal digits)
  31. Arithmetic rounds towards nearest
  32.    Tie breaking rounds to even
  33. Smallest x such that 1.0-base**x != 1.0 = -24
  34. Smallest x such that 1.0-x != 1.0 = 2.98023224e-08
  35. Smallest x such that 1.0+base**x != 1.0 = -23
  36. Smallest x such that 1.0+x != 1.0 = 5.96046519e-08
  37. Number of bits used for exponent = 8
  38. Minimum normalised exponent = -125
  39. Minimum normalised positive number = 1.17549435e-38
  40. The smallest numbers are not kept normalised
  41. Smallest unnormalised positive number = 1.40129846e-45
  42. There is an 'infinite' value
  43. Maximum exponent = 128
  44. Maximum number = 3.40282347e+38
  45. Arithmetic uses a hidden bit
  46. It looks like single length IEEE format
  47.  
  48. PROPERTIES OF DOUBLE:
  49. Base = 2
  50. Significant base digits = 64 (= at least 18 decimal digits)
  51. Arithmetic rounds towards nearest
  52.    Tie breaking rounds to even
  53. Smallest x such that 1.0-base**x != 1.0 = -64
  54. Smallest x such that 1.0-x != 1.0 = 2.71050543121376108500e-20
  55. Smallest x such that 1.0+base**x != 1.0 = -63
  56. Smallest x such that 1.0+x != 1.0 = 5.42101086242752217000e-20
  57.  
  58. *** WARNING: Possibly bad output from printf above
  59.     expected value around 5.42101086242752217000e-20, bit pattern:
  60.     00111111 10111111 10000000 00000000 00000000 00000000 00000000 00000000 0000
  61. 0000 00000001
  62.     sscanf gave           5.42101086242752217000e-20, bit pattern:
  63.     00111111 10111111 10000000 00000000 00000000 00000000 00000000 00000000 0000
  64. 0000 00000000
  65.     difference= 5.87747175411143754000e-39
  66.  
  67. Number of bits used for exponent = 15
  68. Minimum normalised exponent = -16382
  69. Minimum normalised positive number = 1.00000000000000000000e-4914
  70.  
  71. *** WARNING: Possibly bad output from printf above
  72.     expected value around 1.68105157155604675300e-4932, bit pattern:
  73.     00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000 0000
  74. 0000 00000000
  75.     sscanf gave           1.00000000000000000000e-4914, bit pattern:
  76.     00000000 00111011 10000100 00010110 00110011 11101110 10110110 11100101 1001
  77. 0100 10101001
  78.     difference= -1.00000000000000000000e-4914
  79.  
  80. The smallest numbers are not kept normalised
  81. Smallest unnormalised positive number = 1.00000000000000000000e-4914
  82.  
  83. *** WARNING: Possibly bad output from printf above
  84.     expected value around 1.82259976594123730100e-4951, bit pattern:
  85.     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000
  86. 0000 00000001
  87.     sscanf gave           1.00000000000000000000e-4914, bit pattern:
  88.     00000000 00111011 10000100 00010110 00110011 11101110 10110110 11100101 1001
  89. 0100 10101001
  90.     difference= -1.00000000000000000000e-4914
  91.  
  92. There is an 'infinite' value
  93. Maximum exponent = 16384
  94. Maximum number = 1.18973149535723176500e+4932
  95. Arithmetic doesn't use a hidden bit
  96. It doesn't look like IEEE format
  97.  
  98. Float expressions are evaluated in double precision
  99. Double expressions are evaluated in double precision
  100. Memory mallocatable ~= 1 Kbytes
  101.  
  102. For hints on dealing with the problems above
  103.    see the section 'TROUBLESHOOTING' in the file config.c
  104.